#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "stdio.h"
#include "stdlib.h"
#include "QLine"
#include "dirent.h"
//#include "gst/gst.h"
#include "QLineEdit"
#include "QHBoxLayout"
#include "sys/types.h"
//#include <usr/include/gstreamer-1.0/gst/gst.h>
//#include <usr/include/gstreamer-1.0/gst/glib-compat.h>
#include "qfiledialog.h"
#include "QFileDialog"
#include "cliente.c"


QString cancion;
QByteArray aqui;



MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_play_clicked()
{

    char * music[1];
    char * mu = "music.mp3";
    music[0] = mu;
    reproducir(2,music);

}

void MainWindow::on_stop_clicked()
{
    music->stop();

}

void MainWindow::on_enlazar_clicked()
{

}
